package com.dmap.knowledge.po;

import java.io.Serializable;

public class Scene implements Serializable {
    /**
     * 
     * 表字段 : scene.id
     */
    private Long id;

    /**
     * 语言
     * 表字段 : scene.lang
     */
    private String lang;

    /**
     * 备注，描述
     * 表字段 : scene.description
     */
    private String description;

    /**
     * 图标链接
     * 表字段 : scene.icon_url
     */
    private String iconUrl;

    /**
     * 栏目名称
     * 表字段 : scene.name
     */
    private String name;

    /**
     * 关键字
     * 表字段 : scene.key_name
     */
    private String keyName;

    /**
     * 1.启用，2.不启用
     * 表字段 : scene.status
     */
    private Integer status;

    /**
     * 排序
     * 表字段 : scene.sort
     */
    private Integer sort;

    /**
     * 创建时间
     * 表字段 : scene.create_time
     */
    private Long createTime;

    /**
     * 修改时间
     * 表字段 : scene.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table scene
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table scene
     *
     * @mbggenerated
     */
    public Scene(Long id, String lang, String description, String iconUrl, String name, String keyName, Integer status, Integer sort, Long createTime, Long updateTime) {
        this.id = id;
        this.lang = lang;
        this.description = description;
        this.iconUrl = iconUrl;
        this.name = name;
        this.keyName = keyName;
        this.status = status;
        this.sort = sort;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table scene
     *
     * @mbggenerated
     */
    public Scene() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.id
     *
     * @return the value of scene.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.id
     *
     * @param id the value for scene.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.lang
     *
     * @return the value of scene.lang
     *
     * @mbggenerated
     */
    public String getLang() {
        return lang;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.lang
     *
     * @param lang the value for scene.lang
     *
     * @mbggenerated
     */
    public void setLang(String lang) {
        this.lang = lang == null ? null : lang.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.description
     *
     * @return the value of scene.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.description
     *
     * @param description the value for scene.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.icon_url
     *
     * @return the value of scene.icon_url
     *
     * @mbggenerated
     */
    public String getIconUrl() {
        return iconUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.icon_url
     *
     * @param iconUrl the value for scene.icon_url
     *
     * @mbggenerated
     */
    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl == null ? null : iconUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.name
     *
     * @return the value of scene.name
     *
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.name
     *
     * @param name the value for scene.name
     *
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.key_name
     *
     * @return the value of scene.key_name
     *
     * @mbggenerated
     */
    public String getKeyName() {
        return keyName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.key_name
     *
     * @param keyName the value for scene.key_name
     *
     * @mbggenerated
     */
    public void setKeyName(String keyName) {
        this.keyName = keyName == null ? null : keyName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.status
     *
     * @return the value of scene.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.status
     *
     * @param status the value for scene.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.sort
     *
     * @return the value of scene.sort
     *
     * @mbggenerated
     */
    public Integer getSort() {
        return sort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.sort
     *
     * @param sort the value for scene.sort
     *
     * @mbggenerated
     */
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.create_time
     *
     * @return the value of scene.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.create_time
     *
     * @param createTime the value for scene.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column scene.update_time
     *
     * @return the value of scene.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column scene.update_time
     *
     * @param updateTime the value for scene.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table scene
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", lang=").append(lang);
        sb.append(", description=").append(description);
        sb.append(", iconUrl=").append(iconUrl);
        sb.append(", name=").append(name);
        sb.append(", keyName=").append(keyName);
        sb.append(", status=").append(status);
        sb.append(", sort=").append(sort);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}